/*! \file mem_operators.h
 *	\brief This file needs to be included in stdafx of each project that needs memory management
 *
 *	created:	2009/11/20
 *	created:	20:11:2009   17:59
 *	filename: 	o:\main\libs\mem\mem_operators.h
 *	file path:	o:\main\libs\mem
 *	file base:	mem_operators
 *	file ext:	h
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#ifndef _MEM_MEM_OPERATORS_H_
#define _MEM_MEM_OPERATORS_H_

#pragma once

#include "defs.h"

#include <memory>

#if TT_MEM_ENABLED

void* operator new(std::size_t size);
void* operator new[](std::size_t size);
void operator delete(void* p);
void operator delete[](void* p);

#include "mem_operators.inl"

#endif //TT_MEM_ENABLED

#endif //_MEM_MEM_OPERATORS_H_